home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1994 2nd Q2 / The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin / files / utilfile / tbox14 / tboxcfg.doc < prev    next >
Encoding:
Text File  |  1993-11-14  |  98.6 KB  |  2,297 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                 ToolBOX
  10.  
  11.  
  12.  
  13.                               CONFIGURATION
  14.  
  15.  
  16.  
  17.                                USER MANUAL
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             *
  26.                           *   *
  27.                         *       *
  28.                       *           *               The
  29.                     *               *
  30.                   *                   *           Binary
  31.                  *                     *
  32.                  *                     *          Toolshed
  33.                  *                     *
  34.                  *                     *
  35.                  *  ******             *
  36.                  *        *            *          V1.4
  37.                  *        *            *
  38.                  *        *            *          November 14, 1993
  39.                  *        *            *
  40.                  *        *            *
  41.                   ********             *
  42.  
  43.  
  44.  
  45.  
  46.  
  47.                              TABLE OF CONTENTS
  48.  
  49.     1.0 INTRODUCTION.....................................................1
  50.  
  51.     2.0 Program Environment..............................................3
  52.     2.1 System Requirements..............................................3
  53.     2.2 Installation.....................................................3
  54.     2.3 Startup..........................................................3
  55.  
  56.     3.0 OPERATIONAL OVERVIEW.............................................6
  57.  
  58.     4.0 Configuration Files and the Main Menu............................8
  59.  
  60.     5.0 Configure Option : Command Line Arguments.......................10
  61.  
  62.     6.0 Configure Option : Select Color.................................11
  63.     6.1 Main Color Menu.................................................11
  64.     6.2 Change Color Settings...........................................12
  65.  
  66.     7.0 Configure Option : Sort Order Formats...........................14
  67.  
  68.     8.0 Configure Option : Display Formats..............................16
  69.  
  70.     9.0 Configure Option : Key-Bindings.................................18
  71.     9.1 Key Binding Edit/Insertion/Deletion.............................18
  72.     9.2 Key Binding Fields..............................................19
  73.     9.2.1 Key Binding Edit Menu.........................................19
  74.     9.2.2 Key-Binding Field - Label.....................................19
  75.     9.2.3 Key-Binding Field - Match List String.........................19
  76.     9.2.4 Key-Binding Field - Keystroke.................................20
  77.     9.2.5 Key-Binding Field - Command Set...............................21
  78.     9.2.6 Key-Binding Field - Help Text.................................21
  79.     9.2.7 Key-Binding Field - Flags.....................................21
  80.     9.3 Command Line Contents : DOS and Intrinsic Commands..............27
  81.     9.3.1 Basics........................................................27
  82.     9.3.2 File Variables................................................27
  83.     9.3.3 Edit Control Instructions.....................................29
  84.     9.3.4 Command Processing............................................30
  85.     9.3.5 Intrinsic tbx Command.........................................30
  86.     9.3.6 Intrinsic t*x Command.........................................31
  87.  
  88.     10.0 Configure Option : Command Overrides...........................33
  89.     10.1 Basics.........................................................33
  90.     10.2 Override Flags.................................................34
  91.     10.3 Factory Default Command Overrides..............................35
  92.  
  93.     11.0 Configure Option : Quick Lines.................................37
  94.  
  95.     12.0 Configure Option : Default-DOS-Command.........................39
  96.  
  97.     13.0 Configure Option : ToolBOX Banner..............................40
  98.  
  99.  
  100.  
  101.     APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS.........................41
  102.  
  103.     APPENDIX B : INTRINSIC COMMAND SUMMARY..............................42
  104.  
  105.  
  106.  
  107.     APPENDIX C : SORT FORMAT SPECIFICATION..............................45
  108.  
  109.     APPENDIX D : DISPLAY FORMAT SPECIFICATION...........................46
  110.  
  111.     APPENDIX E : COMMAND LINE VARIABLES.................................47
  112.  
  113.  
  114.  
  115.  
  116. TBOXCFG User Manual                                                   Page 1
  117. ____________________________________________________________________________
  118.  
  119.  
  120.  
  121.  
  122. 1.0 INTRODUCTION
  123.  
  124.     Almost every aspect of ToolBOX is capable of being changed to suit your
  125.     personal needs.  ToolBOX is primarily a platform that can be configured
  126.     to suit whatever is required.  If you refer to a ToolBOX help screen
  127.     you'll notice the first section describes Basic Operations - essentially
  128.     the cursor keys and <SPACE> for selection.  These are the only commands
  129.     that are unchangeable.  The balance contains commands that were
  130.     configured using lower level ToolBOX capabilities, in the same way as
  131.     can be accomplished through this TBOXCFG program.  The configuration
  132.     capability extends beyond just the commands.  You can change the colors,
  133.     alter the directory display formats or sort rules, initialize ToolBOX's
  134.     startup settings, enter text for the banner line, and so on.
  135.  
  136.     This manual documents not only the procedures necessary to perform the
  137.     configuration process itself, but also the intrinsic commands that can
  138.     be used within ToolBOX.
  139.  
  140.     The configuration process generates a data file containing the
  141.     configured data - among other things the color selections, formatting
  142.     and sorting rules, and the command sets bound to various keystrokes.
  143.     This data file can then be used by ToolBOX to initialize itself to
  144.     something other than the factory default settings.
  145.  
  146.     Command definition and configuration can occur at a number of different
  147.     levels within ToolBOX.  For example:
  148.  
  149.           QUICK COMMANDS.  These can be defined directly within ToolBOX or
  150.             within the TBOXCFG program.  If defined within ToolBOX, they are
  151.             effectively deleted when exiting to DOS.  Those defined through
  152.             the TBOXCFG program are permanent.  The commands themselves are
  153.             equivalent in either case.
  154.  
  155.           KEYSTROKE ASSIGNMENTS.  Command sets can only be assigned to
  156.             keystroke keys in the TBOXCFG program.
  157.  
  158.           INFERRED BATCH FILES.  This facility is "configured" external to
  159.             both programs, by the creation and editing of the composed-
  160.             /referenced batch files.  However, the facility itself is
  161.             created through the TBOXCFG program.  The inferred batch
  162.             facility is much more general than that implied by the ToolBOX
  163.             program implementation.  The filenames used, the keystrokes, and
  164.             the parameters passed are all established by the TBOXCFG
  165.             program.
  166.  
  167.     Which technique is most applicable is left to the individual user and
  168.     their environment.
  169.  
  170.     This manual describes how the various features are configured.  Refer to
  171.     the ToolBOX User Manual for a description of how these affect the
  172.     operation of the ToolBOX program.  TBOXCFG shares many features and
  173.     conventions with the ToolBOX program.  Refer to the General Product
  174.     Overview and ToolBOX User Manuals for documentation conventions, basic
  175.  
  176. TBOXCFG User Manual                                                   Page 2
  177. ____________________________________________________________________________
  178.  
  179.  
  180.     operation with cursor keys, popup menus, and so on.
  181.  
  182.     While the primary purpose of TBOXCFG is to create configuration files
  183.     for ToolBOX, these files can also be used by VIEW and TREE.  These
  184.     programs simply extract the portions of the configuration file that they
  185.     can use; typically the colors, default command line arguments, and the
  186.     banner line.
  187.  
  188.     Refer to the General Product Overview Manual for examples of practical
  189.     applications of these capabilities.
  190.  
  191.  
  192. TBOXCFG User Manual                                                   Page 3
  193. ____________________________________________________________________________
  194.  
  195.  
  196. 2.0 Program Environment
  197.  
  198. 2.1 System Requirements
  199.  
  200.     The requirements are the same as for ToolBOX.  The program will run with
  201.     any Version of DOS and any type of monitor and card.
  202.  
  203.  
  204.  
  205. 2.2 Installation
  206.  
  207.     Just ensure TBOXCFG is in the current directory or on the PATH.
  208.  
  209.     Unless directed elsewhere, all configuration files are accessed from the
  210.     current directory.
  211.  
  212.  
  213. 2.3 Startup
  214.  
  215.     Like ToolBOX, TBOXCFG's operational aspects can be adjusted at the time
  216.     the program is started by entering arguments in any of three ways:
  217.  
  218.           o on the DOS command line following the program name.
  219.  
  220.           o by a DOS SET command for the "BTS" environment variable.
  221.  
  222.           o saved in the TBOXCFG.EXE executable file by the BTSPATCH
  223.             program.
  224.  
  225.     These are listed in order of decreasing precedence.
  226.  
  227.     All of the arguments are optional, and assume appropriate values if not
  228.     provided.  The video (-V) and color (-C) arguments are identical to
  229.     those used for ToolBOX.
  230.  
  231.  
  232.        SELECT VIDEO OUTPUT FORM:
  233.  
  234.                -V[b m s c e v] [25 43 50]
  235.  
  236.           Set video mode and/or number of screen lines.
  237.  
  238.                b    use BIOS output routines.
  239.  
  240.                m    assume monochrome text (MDA) video card.
  241.  
  242.                c, e, or v
  243.                     assume color graphics (CGA, EGA, or VGA) video card.
  244.                     All 3 settings have the same effect.
  245.  
  246.                s    assume CGA graphics video card and do processing to
  247.                     remove snow on screen.
  248.  
  249.                25   assume 25 visible lines of text.
  250.  
  251.  
  252. TBOXCFG User Manual                                                   Page 4
  253. ____________________________________________________________________________
  254.  
  255.  
  256.                43   assume EGA/VGA card and use the 43 line by 80 column
  257.                     mode.
  258.  
  259.                50   assume VGA card and use the 50 line by 80 column mode.
  260.  
  261.  
  262.        DEFAULT COLOR SELECTION:
  263.  
  264.                -C[m c g]
  265.  
  266.           Selects one of the predefined color tables.
  267.  
  268.                m    monochrome text displays.
  269.  
  270.                c    color displays.
  271.  
  272.                g    gray scale displays, for LCD or monochrome monitors
  273.                     using color video cards.
  274.  
  275.  
  276.        SELECT EXECUTION ASPECTS:
  277.  
  278.                -X [a#] [fF]
  279.  
  280.           The eXecution subarguments are:
  281.  
  282.                a#   select permitted audible tones.  Add the numbers for the
  283.                     particular sounds you wish to hear.
  284.  
  285.                          1 border violations.  Short beeps for attempts to
  286.                            cursor beyond screen borders.
  287.  
  288.                          2 syntax.  Brief chirp made when ToolBOX is unable
  289.                            to understand a keyboard request.  Typically an
  290.                            unexpected character was entered.
  291.  
  292.                          4 error.  Longer warble made when a requested
  293.                            operation could not be carried out.
  294.  
  295.                     The default is a7 - all sounds are enabled (1+2+4).
  296.  
  297.  
  298.                f / F
  299.                     allows Flashing colors in the color selection options
  300.                     when enabled (F).  See Section 6.
  301.  
  302.  
  303.         FILE SPECIFICATION FOR CONFIGURATION FILE :
  304.  
  305.                [d:][path]filename[.cfg]
  306.  
  307.           Identifies the initial configuration file.  If no path is
  308.           specified the current directory is assumed.  If no extension is
  309.           provided, ".CFG" is assumed.  If this argument is omitted the
  310.           initial settings are those of the ToolBOX factory defaults.
  311.  
  312. TBOXCFG User Manual                                                   Page 5
  313. ____________________________________________________________________________
  314.  
  315.  
  316.  
  317.  
  318.     The default argument list for TBOXCFG is:
  319.  
  320.           -xa7f
  321.  
  322.     The video and color options default to suit the current environment, and
  323.     there is no default configuration filename.
  324.  
  325.  
  326.  
  327. TBOXCFG User Manual                                                   Page 6
  328. ____________________________________________________________________________
  329.  
  330.  
  331. 3.0 OPERATIONAL OVERVIEW
  332.  
  333.     TBOXCFG is structured to enable you to modify each of the nine groups of
  334.     configurable data for the ToolBOX program:
  335.  
  336.           o default command line arguments
  337.           o color attributes
  338.           o directory sort order rules
  339.           o directory display format
  340.           o keybindings with command sets
  341.           o command overrides
  342.           o quick lines
  343.           o default execution line
  344.           o screen banner field
  345.  
  346.     On startup, a copyright screen is displayed.  Entering any key will
  347.     cancel this screen before the normal 20 second duration expires.
  348.  
  349.     From here on the configuration program operates through a series of
  350.     cascading menus.  Figure 3/1 illustrates one such set of menus.
  351.  
  352.  
  353.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  354.     │                                                                      │
  355.     │                                                  ╔════════════════╗  │
  356.     │  ┌────────────────────────┐                      ║  Tue Jly 14/93 ║  │
  357.     │  │Load configuration file │                      ║    11:43:38    ║  │
  358.     │  │Configure               │                      ║   ----------   ║  │
  359.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  360.     │  │eXit│command line Parameters │                                     │
  361.     │  └────│select Colors           │                                     │
  362.     │       │Sort order formats      │                                     │
  363.     │       │display Formats         │                                     │
  364.     │       │Keybindings             │                                     │
  365.     │       │command Overrides       │                                     │
  366.     │       │Quick lines             │                                     │
  367.     │       │Default DOS command     │                                     │
  368.     │       │tbox┌─────────────┐     │                                     │
  369.     │       └────│Flags        │─────┘                                     │
  370.     │            │Command line │                                           │
  371.     │            └─────────────┘                                           │
  372.     │                                                                      │
  373.     │                                                                      │
  374.     │                                                                      │
  375.     │                                                                      │
  376.     │                                                                      │
  377.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  378.  
  379.     Figure 3/1 Example ToolBOX Screen Showing Default DOS Command
  380.     Configuration
  381.  
  382.  
  383.     The two upper boxes are always on the screen.  The box in the upper
  384.     right hand corner shows the time and the currently open configuration
  385.     file - if there is one.  The upper left box is effectively the main menu
  386.  
  387. TBOXCFG User Manual                                                   Page 7
  388. ____________________________________________________________________________
  389.  
  390.  
  391.     from which all others are generated.  In the example "Configure" was
  392.     selected from the main menu which in turn produces the next box showing
  393.     the possible configurable options.  From this menu the "Default DOS
  394.     Command" was selected which in turn shows the options within this topic.
  395.  
  396.     Most of the basic operational functions resemble those in ToolBOX.
  397.     Within menus, use the cursor keys to move to the desired option and then
  398.     select it with <RETURN>.  Alternatively, one can select an option by
  399.     entering the letter that is highlighted on the desired option line.
  400.  
  401.     Use <ESC> to back-out of the current menu.  In some cases <ESC> can also
  402.     be used to cancel data that has been changed.  For example for windows
  403.     where text is being entered, entering <ESC> will essentially cancel the
  404.     new text and leave the original text intact.
  405.  
  406.     Again <F1> can always be used to obtain Help information.  Within
  407.     TBOXCFG this help text is context sensitive (i.e.: relates to your
  408.     current activity).
  409.  
  410.     Many operations generate text-entry windows through which text line(s)
  411.     can be entered.  For these the cursor keys as well as <DEL>, <INS>, and
  412.     <BACKSPACE> behave as one would expect.  Note that single line text-
  413.     entry windows typically can accept wider lines than that shown on the
  414.     screen.  Continue to enter text and the window will scroll horizontally
  415.     in jumps of 10 characters.  When a text line is full an audio tone will
  416.     sound, since excess text does not wrap down.  Entering <RETURN> in the
  417.     middle causes lines to be split while <DEL>eleting the return at the end
  418.     of a line will cause the consecutive lines to be concatenated providing
  419.     there is room for both lines.  To save the entered text enter <F10> or
  420.     use <RETURN> on the last physical line.
  421.  
  422.     For other situations which require special keys, the keys are specific-
  423.     ally identified on the screen.  For example <F10> is used to close text
  424.     entry windows while <RIGHT> and <CTRL RIGHT> are used to scroll through
  425.     the color selections.
  426.  
  427.     It should be noted that most of the data entered, is not, or cannot be,
  428.     validated when entered into the TBOXCFG program.  This checking must be
  429.     deferred until the configuration file is actually used by the ToolBOX
  430.     program.
  431.  
  432.  
  433.  
  434. TBOXCFG User Manual                                                   Page 8
  435. ____________________________________________________________________________
  436.  
  437.  
  438. 4.0 Configuration Files and the Main Menu
  439.  
  440.     Obviously the intent of TBOXCFG is to modify and create configuration
  441.     data and place this information into a configuration file.  Ultimately
  442.     this file will be used by ToolBOX to modify its behavior.
  443.  
  444.     Unless specified as a command line argument, TBOXCFG starts up without a
  445.     default configuration file.  At this point the effective configuration
  446.     data (i.e. the settings available for modification) is equivalent to the
  447.     factory settings used by ToolBOX if no configuration file is used.  That
  448.     is, the natural settings as described throughout the ToolBOX User
  449.     Manual.
  450.  
  451.     The currently active configuration file is shown in the box in the upper
  452.     right below the time.  If none is currently active the name field is
  453.     filled with "--------" to indicate the default is being used.
  454.     Configuration files by default have an extension of "CFG" although
  455.     anything can be used.
  456.  
  457.     The main menu allows the user to read, start modifications, or write
  458.     configuration files.
  459.  
  460.     The four options with the main menu are:
  461.  
  462.           Load configuration file
  463.  
  464.                This requests that a new configuration file be read.  This is
  465.                equivalent to specifying the configuration file as an
  466.                argument on the startup command line.
  467.  
  468.                When the option is selected a text entry window appears for
  469.                entering the desired pathname.  If an existing configuration
  470.                file is already open, its name appears as the starting
  471.                default in the text window.  Enter the new name as desired.
  472.                If no path is provided, the current directory is assumed.  If
  473.                no extension is given, "CFG" is assumed.  To specify that no
  474.                extension be used, terminate the pathname with a ".".
  475.  
  476.                If the specified file cannot be found, the existing
  477.                configuration data is left unchanged, and an error window is
  478.                generated.  If the file is found, the new data is read in and
  479.                completely replaces the existing settings.  Nothing from the
  480.                previous configuration is preserved when reading in a new
  481.                file.
  482.  
  483.           Configure
  484.  
  485.                This selection brings up a sub-menu containing the nine
  486.                configurable areas.  The options, and Sections in which they
  487.                are documented in this manual are:
  488.  
  489.                     command line Arguments   Section 5
  490.                     select Color             Section 6
  491.                     Sort order formats       Section 7
  492.                     display Formats          Section 8
  493.  
  494. TBOXCFG User Manual                                                   Page 9
  495. ____________________________________________________________________________
  496.  
  497.  
  498.                     Keybindings              Section 9
  499.                     command Overrides        Section 10
  500.                     Quick lines              Section 11
  501.                     Default DOS command      Section 12
  502.                     ToolBOX Banner           Section 13
  503.  
  504.                Each option in turn brings up further sub-menus as needed for
  505.                its function.  The documentation within each referenced
  506.                section assumes each of the options have been selected from
  507.                the Configure menu.
  508.  
  509.                All of the configuration options operate on the in-memory
  510.                representation of the settings.  If you decide that you do
  511.                not want to retain the changes that have been made, then
  512.                simply don't save the configuration file at the end of the
  513.                session.  Many of the individual configuration options have
  514.                explicit facilities to cancel changes.  Again, these are
  515.                changes to the in-memory version.  The disk file version is
  516.                never modified until the Save configuration file menu.
  517.  
  518.  
  519.           Save configuration file
  520.  
  521.                This requests that the current configuration data be saved to
  522.                a disk file.  Like the equivalent read option, this brings up
  523.                a text entry window for the pathname for the new config-
  524.                uration data; pre-initialized to the currently open config-
  525.                uration pathname if there is one.  Again if a path is not
  526.                explicitly stated then the current directory is assumed.  A
  527.                "CFG" extension is assumed if none is specified.
  528.  
  529.                As a precaution, if the configuration file existed
  530.                previously, then the old file is renamed with a "BAK"
  531.                extension.  To recover the old contents just refer to the
  532.                "BAK" version directly or copy the "BAK" file over the newer
  533.                undesired file.
  534.  
  535.  
  536.           eXit
  537.  
  538.                Requests that the TBOXCFG program be terminated.  Entering
  539.                <ESC> within this menu is equivalent to the eXit option.
  540.  
  541.                If changes have been made to the configuration data since the
  542.                last save, the user will be given one last opportunity to
  543.                either return to the program so the changes can be saved or
  544.                to exit the program and abandon the changes.
  545.  
  546.  
  547. TBOXCFG User Manual                                                  Page 10
  548. ____________________________________________________________________________
  549.  
  550.  
  551. 5.0 Configure Option : Command Line Arguments
  552.  
  553.     Use this option to enter text that is equivalent to what would be
  554.     entered on the ToolBOX program startup command line.  Up to 72
  555.     characters can be entered into the text-entry window.  The initial
  556.     default is no text.  Enter <ESC> to cancel any changes and revert to the
  557.     prior setting.  Enter <F10> to save the changes.
  558.  
  559.     The only difference between arguments entered here and those entered on
  560.     the ToolBOX command line, established by the BTS set variable, or
  561.     created in the TBOX program by BTSPATCH, relates to the precedence in
  562.     which they are evaluated when multiple conflicting settings are
  563.     specified.  Which of the methods is used depends on the desired
  564.     permanence, whether the ToolBOX program or configuration file are to be
  565.     shared among multiple users or purposes, and so on.
  566.  
  567.     The TBOXCFG program does not check the validity of any of the text that
  568.     is entered.  This is deferred until the associated configuration file is
  569.     actually referenced by the ToolBOX program.
  570.  
  571.  
  572.  
  573. TBOXCFG User Manual                                                  Page 11
  574. ____________________________________________________________________________
  575.  
  576.  
  577. 6.0 Configure Option : Select Color
  578.  
  579. 6.1 Main Color Menu
  580.  
  581.     This option allows changes to the foreground and background color
  582.     attributes for each of the three color tables: for color, monochrome,
  583.     and grayscale monitors.  Each table consists of fourteen separate pairs
  584.     of values corresponding to the foreground/background colors for various
  585.     regions of the ToolBOX screens.
  586.  
  587.     In this section the term color is used as if we were always using the
  588.     color table.  Obviously for the grayscale table this actually
  589.     corresponds to an intensity level of a given "color" while for
  590.     monochrome screens these same attributes control bold and underline.
  591.  
  592.     The main color menu is used to manipulate the color tables as a whole.
  593.     The four selectable options are:
  594.  
  595.           Change colors
  596.  
  597.                Moves to the menu where the individual color changes can be
  598.                made to the current color table.  Refer to Section 6.2 for
  599.                details.
  600.  
  601.           Restore Defaults
  602.  
  603.                Restores the factory default settings for the current color
  604.                table.  If you wish to restore the original settings for the
  605.                current configuration, exit this menu and re-read the
  606.                configuration file.
  607.  
  608.           Pick color table
  609.  
  610.                Invokes a menu to select one of the three color tables
  611.                (color, monochrome, or grayscale) as the current table.  A
  612.                diamond appears beside the currently selected table.   This
  613.                current table is referenced by the Change color and Restore
  614.                defaults options.
  615.  
  616.                The initial table setting corresponds to the color table
  617.                requested for the TBOXCFG program itself.  Configuring any
  618.                table other than the one corresponding to the current monitor
  619.                type is questionable since the attributes cannot be properly
  620.                displayed.
  621.  
  622.           caNcel changes
  623.  
  624.                Ignore all changes made to any table since this menu was last
  625.                entered.
  626.  
  627.     No mechanism exists for changing the colors for the TBOXCFG program
  628.     itself.
  629.  
  630.  
  631. TBOXCFG User Manual                                                  Page 12
  632. ____________________________________________________________________________
  633.  
  634.  
  635. 6.2 Change Color Settings
  636.  
  637.     There are fourteen color fields used within ToolBOX.  As shown in Figure
  638.     6/1, the color change screen has two separate windows.  The box on the
  639.     left is a help screen showing the expected keys and the topic associated
  640.     with each of the 14 fields - labeled A through N.  The box on the right
  641.     shows a simulated series of menu boxes to illustrate how these color
  642.     changes actually appear.
  643.  
  644.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  645.     │                                    ┌────  Sample Color Table  ────┐  │
  646.     │                                    │                              │  │
  647.     │  ┌──────────────────────────────┐  │ ┌─[A] Directory Box────────┐ │  │
  648.     │  │<>      for foreground color│  │ │┌─[B] Dir Box - Selected─┐│ │  │
  649.     │  │<CTRL > for background color│  │ ││[C] normal  .fil        ││ │  │
  650.     │  │──────────────────────────────│  │ ││[D] cursor  .fil        ││ │  │
  651.     │  │[A] Dir Normal Box            │  │ ││[] selected.fil        ││ │  │
  652.     │  │[B] Dir Selected Box          │  │ ││[F] curs-sel.fil        ││ │  │
  653.     │  │[C] Dir: normal text          │  │ │└────────────────────────┘│ │  │
  654.     │  │[D] Dir: cursor text          │  │ │[G] Cmd> [H] Entered text │ │  │
  655.     │  │[E] Dir: selected text        │  │ └──────────────────────────┘ │  │
  656.     │  │[F] Dir: selected & cursor    │  │                              │  │
  657.     │  │[G] Kbd cmd prefix            │  │ ┌─[I] Menu Box─────────────┐ │  │
  658.     │  │[H] Kbd entered text          │  │ │[J] Normal entry          │ │  │
  659.     │  │[I] Menu Box                  │  │ │[K] Selected entry        │ │  │
  660.     │  │[J] Menu: normal              │  │ │[L] Select Char           │ │  │
  661.     │  │[K] Menu: selected            │  │ └──────────────────────────┘ │  │
  662.     │  │[L] Menu: select char         │  │                              │  │
  663.     │  │[M] Help Box                  │  │ ┌─[M] Help Box─────────────┐ │  │
  664.     │  │[N] Help: text                │  │ │[N] Help text             │ │  │
  665.     │  └──────────────────────────────┘  │ └──────────────────────────┘ │  │
  666.     │                                    │                              │  │
  667.     │                                    └──────────────────────────────┘  │
  668.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  669.  
  670.     Figure 6/1  Example Screen for Changing Colors
  671.  
  672.  
  673.     For example, the upper box in the right window simulates the main
  674.     ToolBOX screen.  The labeled fields represent the color for:
  675.  
  676.           [A] the outer box when ToolBOX is in DIRECTORY mode.
  677.           [B] the outer box when ToolBOX is in SELECT mode (the normal case)
  678.           [C] normal files in the directory display.
  679.           [D] the file in the display that coincides with the cursor.
  680.           [E] a selected file in the display.
  681.           [F] a selected file in the display that coincides with the cursor.
  682.           [G] the "CMD>" prefix for the keyboard command line at the bottom
  683.               of the ToolBOX screen.
  684.           [H] the text portion of the keyboard command line.
  685.  
  686.     The simulated boxes will give a feeling for how the screen will
  687.     ultimately appear.
  688.  
  689.  
  690. TBOXCFG User Manual                                                  Page 13
  691. ____________________________________________________________________________
  692.  
  693.  
  694.     To change a color:
  695.  
  696.           1) select one of the 14 color fields by using the <UP> and <DOWN>
  697.              cursor keys.  The current field is identified by the flashing
  698.              diamond in the simulated screen on the right.
  699.  
  700.           2) change the foreground color by using the <LEFT> and <RIGHT>
  701.              cursor keys to cycle through the 16 possibilities.  Each change
  702.              is reflected in the simulated screen.  All video modes have 16
  703.              settings, although for monochrome mode many of these are
  704.              duplicates.
  705.  
  706.           3) change the background color by using the <CTRL LEFT> and <CTRL
  707.              RIGHT> keys to cycle through the 8 possibilities.  An
  708.              additional 8 flashing background settings can be made available
  709.              through the -xF command line argument described in Section 2.3.
  710.              Normally these are disabled as they aren't typically used and
  711.              increase the effort required to cycle through the settings.
  712.  
  713.           4) when the foreground and background colors for the field are set
  714.              correctly, either return to step 1 for other fields or enter
  715.              <ESC> to return to the parent Main Color menu.
  716.  
  717.     If you wish to cancel the color changes that have been made, then use
  718.     the Cancel option in the parent Main Color Menu.
  719.  
  720.     Color selection is a matter of personal choice.  Our extensive Graphics
  721.     Art department here at The Binary Toolshed won't feel slighted in the
  722.     least that you have chosen to ignore the default colors that they spent
  723.     countless hours selecting.
  724.  
  725.  
  726.  
  727. TBOXCFG User Manual                                                  Page 14
  728. ____________________________________________________________________________
  729.  
  730.  
  731. 7.0 Configure Option : Sort Order Formats
  732.  
  733.     Through this option you can identify 8 separate sets of sort rules.
  734.     Each can then be referenced from within ToolBOX by the -s# command line
  735.     argument, the sort option sub-menu of the ToolBOX popup menu, or the /s#
  736.     parameter on the intrinsic dir command line.
  737.  
  738.     ┌──────────────────────── ToolBOX Configuration ──────────────────────┐
  739.     │                                                                     │
  740.     │                                                ╔════════════════╗   │
  741.     │  ┌────────────────────────┐                    ║  Tue Jly 14/93 ║   │
  742.     │  │Load configuration file │                    ║    09:52:58    ║   │
  743.     │  │Configure               │                    ║   ----------   ║   │
  744.     │  │Save┌────────────────────────┐               ╚════════════════╝   │
  745.     │  │eXit│command line Parameters │                                    │
  746.     │  └────│select Colors           │                                    │
  747.     │       │Sort order formats      │                                    │
  748.     │       │disp┌──────────────────┐│                                    │
  749.     │       │Key │eXtension-name    ││                                    │
  750.     │       │comm│Date┌──Sort Description and Format─┐                    │
  751.     │       │Quic│Size│eXtension-name                │                    │
  752.     │       │Defa│dOs │xn                            │                    │
  753.     │       │tbox│Name└────────────── F10 To Save ───┘                    │
  754.     │       └────│extension-daTe    │┘                                    │
  755.     │            │extension-siZe    │                                     │
  756.     │            │Reverse-date-name │                                     │
  757.     │            └──────────────────┘                                     │
  758.     │                                                                     │
  759.     │                                                                     │
  760.     │                                                                     │
  761.     │                                                                     │
  762.     └─────────────────────────────────────────────── F1 for HELP ─────────┘
  763.  
  764.     Figure 7/1 Example TBOXCFG Screen Illustrating Sort Option
  765.  
  766.     As shown in Figure 7/1, the first window presented is a list of the 8
  767.     existing sort settings.  Enter the highlighted letter (or cursor to the
  768.     option and enter <RETURN>) to select the one you wish to edit or
  769.     replace.  This brings up a text-entry window with two lines.  The first
  770.     line is to be used as the sort description or label field, while the
  771.     second is for the sort specification.
  772.  
  773.     The sort description is used for the label on the parent menu as well as
  774.     the popup sort selection menu within the ToolBOX program.  The name may
  775.     contain up to 30 characters.  The first capital letter (if any) will be
  776.     used as the highlight letter for the fast menu selection.  The second
  777.     and subsequent capitals have no special effect.  If multiple labels
  778.     share the same first capital letter, only the first will be used for the
  779.     fast selection.
  780.  
  781.  
  782. TBOXCFG User Manual                                                  Page 15
  783. ____________________________________________________________________________
  784.  
  785.  
  786.     The second line containing the sort specification is composed of a
  787.     series of code letters identifying the sort rules:
  788.  
  789.           x    extension - alphabetical order
  790.           n    name      - alphabetical order
  791.           d    date      - oldest first
  792.           s    size      - smallest first
  793.           r    reverse order
  794.  
  795.     Case is not significant.  If no letter is specified, the directory
  796.     entries are left unsorted in the natural DOS order.  If more than one
  797.     code letter is specified, the second and subsequent are used to resolve
  798.     ties that remain from the previous sorts.  The reverse order request is
  799.     done at the end after all other sort procedures have been performed.
  800.  
  801.     For example, the specification:
  802.  
  803.           nxr
  804.  
  805.     requests that the primary sort be an alphabetical sort based on the 8
  806.     character filename.  For multiples entries with the same 8 character
  807.     name (i.e. ties), resolve the tie by sorting alphabetically on the 3
  808.     character extension.  On completion of all this, reverse the order of
  809.     the entire directory.
  810.  
  811.     Within a ToolBOX directory display the current directory, ".", always
  812.     remains as the first entry.
  813.  
  814.  
  815.  
  816. TBOXCFG User Manual                                                  Page 16
  817. ____________________________________________________________________________
  818.  
  819.  
  820. 8.0 Configure Option : Display Formats
  821.  
  822.     This option is similar to the sort option except that it establishes 8
  823.     separate display format specifications for the ToolBOX directory file
  824.     entries.  As shown in Figure 8/1 the item selection and the two line
  825.     text entry window for inputting the label and format specification are
  826.     also the same.
  827.  
  828.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  829.     │                                                                      │
  830.     │                                                  ╔════════════════╗  │
  831.     │  ┌────────────────────────┐                      ║  Tue Jly 14/93 ║  │
  832.     │  │Load configuration file │                      ║    01:58:10    ║  │
  833.     │  │Configure               │                      ║   ----------   ║  │
  834.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  835.     │  │eXit│command line Parameters │                                     │
  836.     │  └────│select Colors           │                                     │
  837.     │       │Sort order formats      │                                     │
  838.     │       │display Formats         │                                     │
  839.     │       │Key ┌──────────────────┐│                                     │
  840.     │       │comm│Master            ││                                     │
  841.     │       │Quic│filename-Size     ││                                     │
  842.     │       │Defa│filename-Date     ││                                     │
  843.     │       │tbox│File┌───Dir Description and Format─┐                     │
  844.     │       └────│Name│filename-Date                 │                     │
  845.     │            │mAst│/n.x D                        │                     │
  846.     │            │siZe└────────────── F10 To Save ───┘                     │
  847.     │            │filename-sizE (B) │                                      │
  848.     │            └──────────────────┘                                      │
  849.     │                                                                      │
  850.     │                                                                      │
  851.     │                                                                      │
  852.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  853.  
  854.     Figure 8/1 Example TBOXCFG Screen Illustrating Display Format Option
  855.  
  856.  
  857.     The display format specification is composed of a number of single
  858.     character codes:
  859.  
  860.           D    ddMmmyy date string
  861.           d    2 char day
  862.           m    2 char month
  863.           y    2 char year
  864.           M    3 char Month
  865.           t    hh:mm time field
  866.  
  867.           n    8 character name
  868.           x    3 character extension
  869.  
  870.           C    8 character file size byte count,
  871.                  or "  <DIR>  " if a directory
  872.           c    8 character file size byte count,
  873.                  or "         " if a directory
  874.  
  875.  
  876. TBOXCFG User Manual                                                  Page 17
  877. ____________________________________________________________________________
  878.  
  879.  
  880.           s     if file is selected, otherwise " "
  881.  
  882.           \    file status: displays as "\" if a directory, otherwise " "
  883.           /    file status: displays file attribute status character,
  884.                in decreasing priority:
  885.                     "s"  system
  886.                     "h"  hidden
  887.                     "r"  read-only
  888.                     "\"  subdirectory
  889.                     " "  none
  890.  
  891.           "literal string"   any text
  892.  
  893.     These characters can be combined in any order to create the desired
  894.     display format.  Characters that do not correspond to any of the format
  895.     characters are treated literally; for example spaces or periods can be
  896.     used to separate fields.  Alternatively, literal text can be entered
  897.     directly by enclosing it in quotation marks.
  898.  
  899.     The format characters are essentially self explanatory.  Various
  900.     date/time combinations are identified through D d m y M and T.  Filename
  901.     components are specified through n and x.  The s field is an alternative
  902.     mechanism to using color highlight to identify selected display entries.
  903.     The \ and / produce single character file status characters, where \
  904.     just identifies the entry as a directory, while / also shows applicable
  905.     system, hidden and read-only file attributes.
  906.  
  907.     ToolBOX will adjust the number of file columns within the directory
  908.     display according to the effective width of the formatted specification.
  909.     A minimum of two spaces is inserted between each pair of columns.  There
  910.     is no indication within the TBOXCFG program of how the formatted text
  911.     will appear or of the number of columns.
  912.  
  913.     As an example, the default master display label and format specification
  914.     are (quotes are added for presentation purposes):
  915.  
  916.                "Master"
  917.                "\n.xC  D t"
  918.  
  919.     which displays as two columns, each of which appears as:
  920.  
  921.                " FILENAME.EXT    2,345  14Jly93 09:29"
  922.  
  923.  
  924.  
  925.  
  926. TBOXCFG User Manual                                                  Page 18
  927. ____________________________________________________________________________
  928.  
  929.  
  930. «X1»9.0 Configure Option : Key-Bindings
  931.  
  932. 9.1 Key Binding Edit/Insertion/Deletion
  933.  
  934.     Keybindings are used to associate a set of operations with a keyboard
  935.     key.  These associated items include:
  936.  
  937.           o text label - used to recognize the keybinding within the
  938.             TBOXCFG program.
  939.           o optional file matchlist specification needed for activation.
  940.           o keystroke character needed for activation.
  941.           o command set containing command lines to be processed - both DOS
  942.             and ToolBOX intrinsic commands.
  943.           o help text.
  944.           o flags - for updating directory display on completion, or
  945.             pausing, and so on.
  946.  
  947.     Selecting the Key Binding option from the Configure menu, produces a
  948.     window with a list of the labels for the existing keybindings.  The
  949.     menus within this option allow you to add, delete, or edit items in the
  950.     list.  To perform one of these update operations, cursor to the desired
  951.     keybinding label and enter <RETURN>.  The next menu options are:
  952.  
  953.           Edit
  954.  
  955.                Initiates changes to the existing settings for the
  956.                keybinding.  Refer to section 9.2 for the options available.
  957.  
  958.           Insert before
  959.  
  960.                Adds a new entry before the current keybinding.  Refer to
  961.                Section 9.2 for the options available.
  962.  
  963.           Append after
  964.  
  965.                Adds a new entry after the current keybinding.  Refer to
  966.                Section 9.2 for the options available.
  967.  
  968.           Cut
  969.  
  970.                Deletes the current keybinding.  The deleted entry is
  971.                temporarily retained and can be used in subsequent paste
  972.                operations.  These Cut and Paste combinations can be used to
  973.                duplicate or move entries.
  974.  
  975.           Paste after
  976.  
  977.                Inserts a copy of the most recent Cut operation after the
  978.                current keybinding.
  979.  
  980.     The order of the entries in the list is significant.  ToolBOX will stop
  981.     at the first entry that satisfies the keystroke and file match
  982.     requirements.  For example, if you wish to associate a keybinding with
  983.     an alphabetic key, it must be placed before the keyboard command line
  984.     binding that matches all ASCII keystroke characters.
  985.  
  986. TBOXCFG User Manual                                                  Page 19
  987. ____________________________________________________________________________
  988.  
  989.  
  990.  
  991.  
  992. 9.2 Key Binding Fields
  993.  
  994. 9.2.1 Key Binding Edit Menu
  995.  
  996.     The keybinding edit menu allows individual access to each of the 6
  997.     fields plus an edit cancel option:
  998.  
  999.           Label
  1000.           Matchlist
  1001.           Keystroke
  1002.           Command text
  1003.           Help text
  1004.           Flags
  1005.           Cancel changes
  1006.  
  1007.     During the edit operations, changes are made to a copy of the actual
  1008.     keybinding.  No changes are saved until <ESC> is used to exit from the
  1009.     edit menu.  To exit from the menu and ignore whatever changes were made
  1010.     to the fields, use the Cancel changes option.
  1011.  
  1012.     If the edit menu was reached from the Insert or Append options, then
  1013.     each field is initialized with the default settings.
  1014.  
  1015.  
  1016. 9.2.2 Key-Binding Field - Label
  1017.  
  1018.     The label field is used in the menu list of defined keybindings.  This
  1019.     is the only keybinding field that is used for the TBOXCFG program rather
  1020.     than ToolBOX itself.
  1021.  
  1022.     Up to 32 characters can be entered to describe the keybinding.
  1023.  
  1024.  
  1025. 9.2.3 Key-Binding Field - Match List String
  1026.  
  1027.     The matchlist is the optional file match specification(s) that must
  1028.     correspond to the selected file(s) before ToolBOX will invoke the
  1029.     keybinding.  If not supplied, the binding will be selected solely on the
  1030.     keystroke specification.
  1031.  
  1032.     As per the standard matchlist definition, the list can contain one or
  1033.     more filematch specifications.  Each filematch specification can contain
  1034.     the * or ? wildcards, and be preceded with !.  The ! designates that
  1035.     files matching this specification should be removed from the list of
  1036.     files selected by prior specifications.
  1037.  
  1038.     The default setting is the absence of a specification.  This designates
  1039.     that keybinding is to be selected solely on the keystroke value and is
  1040.     independent of whether or not files are selected.
  1041.  
  1042.  
  1043. TBOXCFG User Manual                                                  Page 20
  1044. ____________________________________________________________________________
  1045.  
  1046.  
  1047. 9.2.4 Key-Binding Field - Keystroke
  1048.  
  1049.     The keystroke is the keyboard character that must be matched for ToolBOX
  1050.     to invoke the keybinding.
  1051.  
  1052.     When the option is selected, a list of all possible keystrokes is shown.
  1053.     Select the desired entry, either by cursoring to it or by directly
  1054.     entering the keystroke.  Most of the keystrokes are straight forward,
  1055.     simply representing the valid combinations of the normal keys along with
  1056.     the <SHIFT>, <CTRL>, and <ALT> keys.  However, a few special conditions
  1057.     should be noted:
  1058.  
  1059.           o characters that are not available include:
  1060.  
  1061.                . the alphabetic keys (without CTRL or ALT)
  1062.  
  1063.                . the ToolBOX basic operation keys:  cursor keys, <PG UP>,
  1064.                  <PG DN>, <HOME>, <END>, <ESC>, and <SPACE>
  1065.  
  1066.           o as <RETURN> is used in the menu selection process, you must
  1067.             cursor to it to select its entry.
  1068.  
  1069.           o the only special allowance made for the 101 key AT keyboards are
  1070.             that the <+> and <-> keys are distinguished from the equivalent
  1071.             keys on the main part of the keyboard.  The <F11> and <F12> keys
  1072.             are not supported.
  1073.  
  1074.           o for keys that may not be available on all keyboards, the key
  1075.             label in the menu is enclosed in [brackets].  Use the direct
  1076.             menu select mechanism to test if they have the desired effect.
  1077.             This applies to such characters as <CTRL RETURN> which may not
  1078.             be supported by your BIOS or the mid <keypad 5> which may not
  1079.             physically exist on your keyboard.  Refer to the General Product
  1080.             Overview Manual for alternate keystrokes for these keys.
  1081.  
  1082.           o with three exceptions, all the keys correspond to single
  1083.             keystrokes (with one of more shift states).  The three
  1084.             exceptions provide a mechanism to group common keys together.
  1085.             The keystroke for these can be assumed to be matched if any of
  1086.             the keys within the group are entered.  The labels for the three
  1087.             groups are:
  1088.  
  1089.                ASCII       Group contains the standard 95 printable charact-
  1090.                            ters available through the main portion of the
  1091.                            keyboard.  Includes the upper and lower case
  1092.                            alphabetics, numeric, and punctuation characters.
  1093.  
  1094.                ALT LETTER  The 26 alphabetic keys when used in conjunction
  1095.                            with the ALT key.
  1096.  
  1097.                CTRL LETTER The 26 alphabetic keys when used in conjunction
  1098.                            with the CTRL key.
  1099.  
  1100.     There is no default keystroke selection.
  1101.  
  1102.  
  1103. TBOXCFG User Manual                                                  Page 21
  1104. ____________________________________________________________________________
  1105.  
  1106.  
  1107. 9.2.5 Key-Binding Field - Command Set
  1108.  
  1109.     The Command Set field represents the individual instructions that are to
  1110.     be processed when the keybinding is invoked.  The command lines can be
  1111.     either DOS commands or ToolBOX intrinsics.  Rules for the available
  1112.     commands and their contents are provided in Section 9.3.
  1113.  
  1114.     Each command set may contain up to 40 lines of up to 68 characters each.
  1115.     The lines can contain any valid CTRL character variable.  TBOXCFG does
  1116.     not check the validity of the entered command lines.  The command set
  1117.     lines can be viewed from within the ToolBOX program through the extended
  1118.     help facility, <ALT F1>.
  1119.  
  1120.  
  1121. 9.2.6 Key-Binding Field - Help Text
  1122.  
  1123.     The help text entered here is displayed when the <F1> help key is used
  1124.     within ToolBOX.  This help text for the configured keybindings is
  1125.     displayed after the explanations for the basic ToolBOX operations.
  1126.  
  1127.     As for the command lines, you may enter up to 40 lines of up to 68
  1128.     characters each.  The convention employed for the factory default
  1129.     commands is a single line for each consisting of:
  1130.  
  1131.           o 8 characters for the match string or " ---    " if not
  1132.             applicable.
  1133.  
  1134.           o 12 characters for the keystroke match.
  1135.  
  1136.           o up to 48 characters of explanation.
  1137.  
  1138.     Note this is only a convention used to ensure the presentation is
  1139.     consistent.  The help text can span any number of lines, even zero, and
  1140.     employ any formatting that may be desirable.
  1141.  
  1142.  
  1143. 9.2.7 Key-Binding Field - Flags
  1144.  
  1145.     The Flags menu sets the state for seven different aspects of executing a
  1146.     keybinding.  These are primarily used to optimize the screen transitions
  1147.     from the ToolBOX directory display to the program (or DOS) screen and
  1148.     then back.  Each keybinding will have different requirements in terms of
  1149.     video modes that must be initialized, file updates that must be
  1150.     integrated into the display, pause and error processing requirements,
  1151.     and so on.  The flag settings can be used to ensure that the transitions
  1152.     are done as quickly and as smoothly as possible.
  1153.  
  1154.     As each of the seven flag settings is selected, a submenu appears
  1155.     showing the available options.  The current setting is prefixed with a 
  1156.     character. To change the setting, cursor to the desired option and enter
  1157.     <RETURN> or <SPACE>.  Figure 9/1 illustrates one of these menus - for
  1158.     setting error condition options.
  1159.  
  1160.  
  1161. TBOXCFG User Manual                                                  Page 22
  1162. ____________________________________________________________________________
  1163.  
  1164.  
  1165.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  1166.     │                                                                      │
  1167.     │                                                   ╔════════════════╗ │
  1168.     │ ┌────────────────────────┐                        ║  Tue Jly 14/93 ║ │
  1169.     │ │Load configuration file │                        ║    11:47:51    ║ │
  1170.     │ │Configure┌───────────────────────────────┐       ║   ----------   ║ │
  1171.     │ │Save┌────│Select all ent┌───────────────────────┐╚════════════════╝ │
  1172.     │ │eXit│comm│Select current│Switch to DOS window   │                   │
  1173.     │ └────│sele│Sele┌─────────│Tell DOS of Video Lines│                   │
  1174.     │      │Sort│Exec│Edit     │Display data           │                   │
  1175.     │      │disp│Star│Inse┌────│sUbdirectory           │                   │
  1176.     │      │Key │Star│Appe│Labe│Pause on completion    │                   │
  1177.     │      │comm│KBD>│Cut │Matc│On error               │                   │
  1178.     │      │Quic│DELE│Past│Keys│Embe┌───────┐          │                   │
  1179.     │      │Defa│KBD>└────│Comm│sKip│ Abort │          │                   │
  1180.     │      │tbox│KILLDIR  │Help└────│Ignore│──────────┘                   │
  1181.     │      └────│PRINT    │Flags    └───────┘   │                          │
  1182.     │           │QUICK EXI│Cancel ch      │     │                          │
  1183.     │           │KBD> RENA└───────────────┘     │                          │
  1184.     │           │Shell to DOS                   │                          │
  1185.     │           │TREE directory                 │                          │
  1186.     │           │VIEW File                      │                          │
  1187.     │           └───────────────────────────────┘                          │
  1188.     │                                                                      │
  1189.     └──────────────────────────────────────────────── F1 for HELP ─────────┘
  1190.  
  1191.     Figure 9/1 Example Menu Showing Possible Change To The On-Error Flags
  1192.  
  1193.  
  1194.     Each of the eight flag settings covers a particular aspect of processing
  1195.     a keybinding.  These settings along with their sub-menu options are
  1196.     (defaults shown prefixed with ):
  1197.  
  1198.           Switch to DOS window
  1199.  
  1200.  
  1201.                Controls whether, before the command is executed, ToolBOX
  1202.                should retain it's own directory display or switch to the
  1203.                screen for DOS command lines.  The setting has no effect in
  1204.                split screen mode.
  1205.  
  1206.                     Inhibit switch      Stay with the ToolBOX directory
  1207.                                         display. This should only be used
  1208.                                         for commands which generate no
  1209.                                         output to the screen or produce full
  1210.                                         screen output (that is where
  1211.                                         switching to the DOS screen would be
  1212.                                         immediately replaced anyway).
  1213.  
  1214.                    Switch and save     Restore the DOS screen before
  1215.                                         executing the command, and upon
  1216.                                         completion record the updated screen
  1217.                                         state so that it can be used for the
  1218.                                         next opportunity.  Switching to DOS
  1219.                                         not only restores the screen
  1220.  
  1221. TBOXCFG User Manual                                                  Page 23
  1222. ____________________________________________________________________________
  1223.  
  1224.  
  1225.                                         characters but also the number of
  1226.                                         video lines.  This may be
  1227.                                         significant to some programs.
  1228.  
  1229.                     switch, Don't save  As above except that the updated DOS
  1230.                                         screen is essentially ignored on
  1231.                                         completion.  This is useful for full
  1232.                                         screen programs which require the
  1233.                                         initial DOS screen line settings.
  1234.  
  1235.  
  1236.  
  1237.           Tell DOS of video lines
  1238.  
  1239.                Determines whether DOS should be specifically told there are
  1240.                only 25 lines available in the split screen area.  As
  1241.                explained in the ToolBOX manual for the TBOX -xT command line
  1242.                argument, under some combinations and versions of the
  1243.                ANSI.SYS driver and DOS, it may be possible to have DOS
  1244.                restricted to the 25 line split screen area, yet have
  1245.                applications use the full 43 or 50 line screen.  This flag
  1246.                and the command line argument setting are combined before the
  1247.                command is carried out - i.e. as long as either is set to YES
  1248.                DOS is told of the 25 line restriction.  This setting has no
  1249.                effect if not in split screen mode.
  1250.  
  1251.                     No                  Do not tell DOS.  Assumes DOS
  1252.                                         (usually V3.x or 4 with ANSI.SYS) is
  1253.                                         self limited to the 25 line split
  1254.                                         screen area.
  1255.  
  1256.                    Yes                 Tell DOS (and therefore all other
  1257.                                         programs that default to the current
  1258.                                         screen settings) that only 25 lines
  1259.                                         are available in the split screen
  1260.                                         area.
  1261.  
  1262.  
  1263.  
  1264.           Display data
  1265.  
  1266.                This setting is used to optimize, where possible, the
  1267.                processing required to update the directory display after a
  1268.                keybinding is processed.  A complete update requires that all
  1269.                the files in the directory be re-examined to detect possible
  1270.                changes.  This file data must then be sorted and reformatted
  1271.                for presentation purposes.  Elimination of any of these steps
  1272.                (and especially the re-reading of the directory) helps
  1273.                eliminate unnecessary delays.
  1274.  
  1275.  
  1276.                    New data            File or directory changes occurred.
  1277.                                         Re-read the directory and update the
  1278.                                         display accordingly.
  1279.  
  1280.  
  1281. TBOXCFG User Manual                                                  Page 24
  1282. ____________________________________________________________________________
  1283.  
  1284.  
  1285.                     Re-sort             File data didn't change. Just re-
  1286.                                         sort it.
  1287.  
  1288.                     re-Sort and format  File data didn't change, but sort
  1289.                                         criteria or format rules did.
  1290.                                         Therefore use the existing file data
  1291.                                         but reformat and re-sort it before
  1292.                                         displaying.
  1293.  
  1294.                     New data if change  ToolBOX can make a SIMPLISTIC test
  1295.                                         for file changes by checking for
  1296.                                         changes in the disk space
  1297.                                         utilization before and after
  1298.                                         execution of the keybinding.
  1299.                                         Depending on whether changes were
  1300.                                         detected, this option completes as
  1301.                                         per the "New data" or "No changes"
  1302.                                         options.
  1303.  
  1304.                                         It must be emphasized that while the
  1305.                                         test is much faster than re-reading
  1306.                                         the entire directory, it is far from
  1307.                                         foolproof.  Do not use this option
  1308.                                         if you cannot afford to have the
  1309.                                         display be slightly out-of-date
  1310.                                         occasionally.
  1311.  
  1312.                     Assume BTS errorlevel
  1313.                                         Most Binary Toolshed programs return
  1314.                                         an error level indicator which
  1315.                                         identifies whether changes have
  1316.                                         occurred (refer to the General
  1317.                                         Product Overview Manual for
  1318.                                         specifics).  This option tells
  1319.                                         ToolBOX to examine this error level
  1320.                                         indicator to determine whatever
  1321.                                         display updates are warranted.
  1322.  
  1323.                     No change           There are no changes to the files
  1324.                                         involved in the current ToolBOX
  1325.                                         directory display, therefore no
  1326.                                         update is required.
  1327.  
  1328.  
  1329.           subDirectory
  1330.  
  1331.                This setting identifies whether the matchlist specification
  1332.                in the keybinding pertains to files and/or subdirectories.
  1333.  
  1334.                    No                  Match files only.
  1335.  
  1336.                     Yes                 Match subdirectories only.
  1337.  
  1338.                     Optional            Match files and subdirectories.
  1339.  
  1340.  
  1341. TBOXCFG User Manual                                                  Page 25
  1342. ____________________________________________________________________________
  1343.  
  1344.  
  1345.  
  1346.  
  1347.           Pause on completion
  1348.  
  1349.                Identifies whether, on completion of processing the
  1350.                keybinding command set, ToolBOX should pause and display the
  1351.                resultant DOS screen or revert immediately to the ToolBOX
  1352.                directory display.  This setting has no effect in split
  1353.                screen mode or if the PAUSE flag within ToolBOX itself is set
  1354.                to YES (see ToolBOX popup menu options or <ALT F2> in the
  1355.                ToolBOX User Manual).
  1356.  
  1357.                If what is desired is to actually pause after each command
  1358.                (and not just preserve DOS screens that would have otherwise
  1359.                been replaced), then specifically insert the DOS PAUSE
  1360.                command within the command set.
  1361.  
  1362.  
  1363.                     after Each command  If a single keystroke involves
  1364.                                         keybindings for a number of selected
  1365.                                         files, then ToolBOX will pause after
  1366.                                         the execution phase has completed
  1367.                                         for each command set for each
  1368.                                         selected file.  Any-key will cause
  1369.                                         the process to resume, however,
  1370.                                         <CTRL c> can be used to abort the
  1371.                                         remaining operations.
  1372.  
  1373.                     after All selected  As above, except ToolBOX pauses once
  1374.                                         and once only at the completion of
  1375.                                         all keybindings for the current
  1376.                                         keystroke.  The PAUSE flag set
  1377.                                         through the TBOX -xP command line
  1378.                                         argument or the ToolBOX popup menu
  1379.                                         sets this setting for all
  1380.                                         keybindings.
  1381.  
  1382.                    Never               Revert immediately to the ToolBOX
  1383.                                         directory display - do not pause.
  1384.  
  1385.  
  1386.           On-error
  1387.  
  1388.                Specifies what should be done when external programs return a
  1389.                non-zero errorlevel value.  The error setting is generally
  1390.                not applicable.  The errorlevel value is only available from
  1391.                programs that are invoked directly; with explicit .exe or
  1392.                .com extensions (for other programs, ToolBOX runs them
  1393.                indirectly through COMMAND.COM which discards the program
  1394.                errorlevel value).  Also the convention for errorlevel values
  1395.                is not consistently followed by all programs.  Judicious
  1396.                caution is warranted.
  1397.  
  1398.                     Abort               Stop processing immediately.  The
  1399.                                         audible alarm for execution errors
  1400.  
  1401. TBOXCFG User Manual                                                  Page 26
  1402. ____________________________________________________________________________
  1403.  
  1404.  
  1405.                                         is also issued.
  1406.  
  1407.                    Ignore              No attention is paid to the
  1408.                                         errorlevel value returned from
  1409.                                         executed programs.
  1410.  
  1411.  
  1412.           Embeddable
  1413.  
  1414.                Indicates to ToolBOX if this keybinding should be allowed to
  1415.                be processed if the associated keystroke is entered when
  1416.                ToolBOX is in the keyboard command line mode.  As explained
  1417.                for "External Command Access" in Section 9.3.2 of the ToolBOX
  1418.                User Manual, as a simple guideline, any command can be used
  1419.                as long as it does not change the current directory,
  1420.                reference the currently selected files, or conflict with
  1421.                characters used for editing the command lines or with those
  1422.                used for command line variables.  The commands that can be
  1423.                used include those that alter the number of screen lines,
  1424.                change the split screen status, change the display sort and
  1425.                format settings, toggle ToolBOX/DOS views etc.
  1426.  
  1427.  
  1428.                    No                  Do not process if the keystroke is
  1429.                                         entered in the middle of a keyboard
  1430.                                         command line.
  1431.  
  1432.                     Yes                 Process the keybinding.  Use caution
  1433.                                         here.
  1434.  
  1435.  
  1436.           sKip to cursor
  1437.  
  1438.                Specifies a special command which is intended to be processed
  1439.                once and once only, and on the file at the current cursor
  1440.                position.  The normal procedure is to execute the keybinding
  1441.                once for each selected file.
  1442.  
  1443.                    No                  Process with normal sequencing
  1444.                                         through selected files.
  1445.  
  1446.                     Yes                 Process as if the file at the cursor
  1447.                                         were the only selected file.  That
  1448.                                         is, perform the processing and then
  1449.                                         stop.  This is primarily used for
  1450.                                         the file selection commands
  1451.                                         themselves (e.g. <ALT space> ) where
  1452.                                         the already selected files should
  1453.                                         not be processed.
  1454.  
  1455.  
  1456.     While these settings may require several repetitions before the optimum
  1457.     states can be found, there is almost always a way to eliminate unneces-
  1458.     sary screen updates or transitions.
  1459.  
  1460.  
  1461. TBOXCFG User Manual                                                  Page 27
  1462. ____________________________________________________________________________
  1463.  
  1464.  
  1465.  
  1466.  
  1467. 9.3 Command Line Contents : DOS and Intrinsic Commands
  1468.  
  1469. 9.3.1 Basics
  1470.  
  1471.     This section describes the commands that can be used within the command
  1472.     line portion of a keybinding (see Section 9.2.5).
  1473.  
  1474.     The lines can be either DOS commands or ToolBOX intrinsics.  Intrinsics
  1475.     are the commands that are processed directly by ToolBOX.  DOS and
  1476.     intrinsic command lines can be combined in any order to comprise a
  1477.     command set.
  1478.  
  1479.     The same rules apply here as for entering keyboard command lines within
  1480.     ToolBOX.
  1481.  
  1482.     For DOS commands avoid using SET and its derivatives - PROMPT and PATH.
  1483.     DOS commands/functions that are specific to batch files such as GOTO and
  1484.     labels are also not available.  Avoid commands which install a resident
  1485.     TSR segment.
  1486.  
  1487.     The basic intrinsic commands (cd, dir, del, killdir, and sel) are
  1488.     described in the ToolBOX User Manual.  This manual describes two
  1489.     additional intrinsics: tbx, and t*x.  While they can be entered through
  1490.     the keyboard command line, they are intended for use within the
  1491.     keybinding command sets.  These are oriented toward system setup and
  1492.     configuration operations.
  1493.  
  1494.  
  1495.  
  1496. 9.3.2 File Variables
  1497.  
  1498.  
  1499.     Command lines, whether DOS or intrinsics, can contain variables which
  1500.     relate to files selected within the directory display.  The effective
  1501.     text is substituted for the variable when the command line is executed.
  1502.     Each variable is created by a <CTRL letter> sequence, and is displayed
  1503.     as letter.  For example <CTRL f> is shown as f.
  1504.  
  1505.     The available variables are:
  1506.  
  1507.           <CTRL d>    display drive letter.
  1508.           <CTRL p>    display path.
  1509.           <CTRL n>    1 to 8 character file name.
  1510.           <CTRL x>    0 to 3 character extension.
  1511.  
  1512.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1513.                       uniquely reference the selected file from the current
  1514.                       directory.
  1515.  
  1516.           <CTRL D>    current drive letter.
  1517.           <CTRL P>    current path.
  1518.  
  1519.           <CTRL c>    last character from keyboard.
  1520.  
  1521. TBOXCFG User Manual                                                  Page 28
  1522. ____________________________________________________________________________
  1523.  
  1524.  
  1525.  
  1526.  
  1527. TBOXCFG User Manual                                                  Page 29
  1528. ____________________________________________________________________________
  1529.  
  1530.  
  1531.     The display drive letter can also be entered as a relative drive:
  1532.  
  1533.           [+-!]d     for the drive that is next, previous, or adjacent in
  1534.                       the direction of the direction flag. The resultant
  1535.                       value will always wrap around within the valid range.
  1536.                       For example, the command line:
  1537.  
  1538.                                         +d:
  1539.  
  1540.                       can be used to cycle through all the valid drives on
  1541.                       your system.
  1542.  
  1543.                       To create this sequence, enter <CTRL d>, then cursor
  1544.                       back and insert the direction character before the d.
  1545.  
  1546.  
  1547.  
  1548. 9.3.3 Edit Control Instructions
  1549.  
  1550.     Text for the keyboard command lines (see "t*x p" in Section 9.3.6) can
  1551.     contain embedded instructions which control the edit operation during
  1552.     the initial presentation of the keyboard command.  These instructions
  1553.     are coded as a single letter enclosed in angle brackets.  The four
  1554.     supported instructions, which can be inserted anywhere in the command
  1555.     text, are:
  1556.  
  1557.           <c>         set the cursor position to the current location
  1558.  
  1559.           <i>         start the edit operation in insert-mode
  1560.  
  1561.           <o>         start the edit operation in overstrike-mode
  1562.  
  1563.           <m>         mark the start (or end) of a DefaultText field.  The
  1564.                       text will be displayed in reverse video.  If the
  1565.                       initially entered character is non-printable (such as
  1566.                       <RETURN>), then the DefaultText will be converted to
  1567.                       normal text.  If, however, the initial character is
  1568.                       printable, the marked text will be deleted and
  1569.                       replaced with the newly entered character.  The cursor
  1570.                       will be positioned following this character in insert-
  1571.                       mode.  Only one such field may exist in a command
  1572.                       line.  The field continues to the end-of-line if the
  1573.                       end mark is not supplied.
  1574.  
  1575.     As an example, the following is a possible version of the rename command
  1576.     which suggests the new filename have the same name but a "NEW"
  1577.     extension.  Entering any text will overwrite this extension.
  1578.  
  1579.           t*x p rename f n.<m>new<m>
  1580.  
  1581.  
  1582. TBOXCFG User Manual                                                  Page 30
  1583. ____________________________________________________________________________
  1584.  
  1585.  
  1586. 9.3.4 Command Processing
  1587.  
  1588.     Section 9.3.6 describes the "t*x p command-line" command which preloads
  1589.     the command-line text into the keyboard command line.  The parameters/-
  1590.     variables for this command are evaluated twice.  Once when the command
  1591.     is initially processed and brought into the keyboard command line, and a
  1592.     second time when <RETURN> is ultimately entered.
  1593.  
  1594.     When the variables are processed by ToolBOX, the sequence  is
  1595.     translated to a single .  This facility can be used to ensure that the
  1596.     variables are expanded at the proper time.
  1597.  
  1598.     If the variable is to be replaced with the selected file name at the
  1599.     time the command line is brought into the keyboard buffer, then use one
  1600.     .  If multiple files are selected, only the first will be processed.
  1601.     It is the keyboard command line that would be reprocessed for each
  1602.     selected file, but since this command line is now static and unchanging,
  1603.     there is no need to repeat after the first pass.
  1604.  
  1605.     If the variable is to be replaced at the time the <RETURN> is entered
  1606.     (and repeated for each additional selected file), then use two  prefix
  1607.     characters when placing the variable in the command set for the key
  1608.     binding.  This displays as one  in the keyboard command line.
  1609.  
  1610.     To produce consecutive diamonds (  ), either enter two consecutive
  1611.     valid CTRL characters such as <CTRL f> and then manually delete the
  1612.     first letter, or enter <ALT 0><ALT 0><ALT 4> twice using the numeric
  1613.     keypad.  When using the keypad technique, ensure that NUMLOCK is off and
  1614.     that you release the ALT key after <ALT 4>.
  1615.  
  1616.  
  1617.  
  1618. 9.3.5 Intrinsic tbx Command
  1619.  
  1620.     The intrinsic command tbx is used to implement a number of housekeeping
  1621.     operations.  While intended to be executed transparently through
  1622.     bindings to specific keys, they may be entered manually through the
  1623.     keyboard command line.
  1624.  
  1625.     All commands contain a single letter descriptor followed by additional
  1626.     parameters as required.  These commands are:
  1627.  
  1628.           tbx d          o switch the screen to the DOS window.
  1629.  
  1630.           tbx h #        o initiate ToolBOX help, where # is 1 or 2. 1
  1631.                            selects basic command descriptions, 2 adds the
  1632.                            actual command set text for each key binding.
  1633.                            The key binding  can be used to change the help
  1634.                            descriptions for the configurable commands
  1635.                            contained in the middle section of the help text.
  1636.                            The factory default configuration uses single
  1637.                            line descriptions for each keybinding, but this
  1638.                            need not be the case.
  1639.  
  1640.           tbx p          o toggle the current PAUSE status.  When ON,
  1641.  
  1642. TBOXCFG User Manual                                                  Page 31
  1643. ____________________________________________________________________________
  1644.  
  1645.  
  1646.                            ToolBOX will pause at the DOS screen just before
  1647.                            returning to the ToolBOX directory display.  The
  1648.                            default is OFF, although this can be changed
  1649.                            through the TBOX -xP command line argument.  The
  1650.                            setting can also be examined and changed through
  1651.                            the ToolBOX popup menu.  This setting has no
  1652.                            effect in split screen mode.
  1653.  
  1654.           tbx r ##       o change screen rows to ##, where ## must be one of
  1655.                            25, 43, or 50.  The original DOS setting will be
  1656.                            used for any other values.  No check is made for
  1657.                            consistency with the current video card.
  1658.  
  1659.           tbx t          o toggle the current DIRECTION status.  The
  1660.                            direction state is used by <TAB>, and <SHIFT
  1661.                            SPACE>.  This state can be examined and changed
  1662.                            through the ToolBOX popup menu.
  1663.  
  1664.           tbx w          o toggle between ToolBOX SELECT and DIRECTORY
  1665.                            state.
  1666.  
  1667.           tbx N          o change directories to the next entry in the
  1668.                            directory stack; i.e. move to the next oldest.
  1669.                            The directory stack is a list (to a 500 character
  1670.                            limit) of the previous directories entered and
  1671.                            the file at the cursor on exit from each.
  1672.  
  1673.           tbx P          o change directories to the previous entry in the
  1674.                            directory stack; i.e. move to the next newest.
  1675.  
  1676.           tbx x          o conditional exit, prompt first to ensure user
  1677.                            wants to exit.
  1678.  
  1679.           tbx X          o unconditional exit.  Exit immediately.
  1680.  
  1681.  
  1682.  
  1683. 9.3.6 Intrinsic t*x Command
  1684.  
  1685.     The t*x command is similar to the tbx intrinsic command described in the
  1686.     previous section.  The notable difference being these are only to be
  1687.     initiated from command sets bound to specific keys.  Manually entering
  1688.     these commands through the keyboard command line could cause unpredict-
  1689.     able results.  Refer to the default command configurations for practical
  1690.     examples of how these commands are employed.
  1691.  
  1692.           t*x p [command-line-text]
  1693.                          o start the keyboard command, initializing with all
  1694.                            trailing text on the t*x p command line.
  1695.  
  1696.           t*x l          o start the keyboard command, initializing with
  1697.                            text from the most recent command stack entry.
  1698.                            The command stack is used to retain the latest
  1699.                            keyboard command lines, up to a 500 character
  1700.                            limit.
  1701.  
  1702. TBOXCFG User Manual                                                  Page 32
  1703. ____________________________________________________________________________
  1704.  
  1705.  
  1706.  
  1707.           t*x C          o assign current directory to quick-command x (x is
  1708.                            assumed to be the next character received through
  1709.                            the keyboard).  Quick-commands are limited to a
  1710.                            total of 500 characters.  They can be viewed and
  1711.                            invoked through the popup menu.
  1712.  
  1713.           t*x D          o delete quick-command x (again x is assumed to be
  1714.                            the next character received through the
  1715.                            keyboard).
  1716.  
  1717.           t*x K          o add the current keyboard command line as quick-
  1718.                            command x (x is assumed to be the next character
  1719.                            received through the keyboard).  The keyboard
  1720.                            command line is cleared on receipt of the x
  1721.                            label.
  1722.  
  1723.           t*x X          o execute quick-command x (x is assumed to be the
  1724.                            next character received through the keyboard).
  1725.                            The quick-command text is treated in the same
  1726.                            manner as if it were entered through the keyboard
  1727.                            command line.
  1728.  
  1729.           t*x f progname.ext [param1] [param2] . . .
  1730.                          o if it can be found in the current directory or on
  1731.                            the PATH, then invoke the progname.ext program
  1732.                            and pass it the parameters param1, param2, etc.
  1733.                            If the progname.ext file cannot be located, a
  1734.                            default command line is performed, see Section
  1735.                            12.  The extension must be explicitly stated.
  1736.  
  1737.           t*x x progname.ext [param2] [param3] . . .
  1738.                          o equivalent to the above t*x f command, except
  1739.                            that if progname.ext is not found, ToolBOX simply
  1740.                            beeps.
  1741.  
  1742.           t*x s          o toggle DOS split screen.  Beeps if EGA or VGA
  1743.                            video card not available.  If in 25 line mode,
  1744.                            also automatically shifts to 43 (EGA) or 50 (VGA)
  1745.                            line mode.
  1746.  
  1747.           t*x w          o initiate the popup menu window.  This permits
  1748.                            viewing or changes for quick commands, sort
  1749.                            procedures, display formats, and pause and target
  1750.                            direction states.
  1751.  
  1752.  
  1753.  
  1754. TBOXCFG User Manual                                                  Page 33
  1755. ____________________________________________________________________________
  1756.  
  1757.  
  1758. 10.0 Configure Option : Command Overrides
  1759.  
  1760. 10.1 Basics
  1761.  
  1762.     The command override facility makes it possible to identify and then
  1763.     make appropriate adjustments for specific commands entered on the
  1764.     ToolBOX keyboard command line.  These adjustments are essentially
  1765.     equivalent to the flag settings available for the keybindings - for
  1766.     switching to the DOS screen, pausing, refreshing the directory display,
  1767.     and so on.
  1768.  
  1769.     Configuration for the command is similar to the keybinding facility.
  1770.     When selected from the Configure Menu, a list of the existing command
  1771.     override names is presented.  Cursor to the desired entry and enter
  1772.     <RETURN>.
  1773.  
  1774.     This brings up a menu to select an update option:
  1775.  
  1776.           Edit
  1777.  
  1778.                Initiate changes to the existing settings for the command
  1779.                override.
  1780.  
  1781.  
  1782.           Insert
  1783.  
  1784.                Add a new entry before the current override command.  Flags
  1785.                are initialized to the default settings.  There is no
  1786.                significance to the order of the entries.
  1787.  
  1788.  
  1789.           Paste before
  1790.  
  1791.                Insert a copy of the most recent Cut operation before the
  1792.                current command override.
  1793.  
  1794.  
  1795.           Cut
  1796.  
  1797.                Delete the current override command.  The deleted entry is
  1798.                temporarily retained and can be used in subsequent paste
  1799.                operations.  These Cut and Paste combinations can be used to
  1800.                duplicate or move entries.
  1801.  
  1802.  
  1803.     The order of the override entries is not significant.  With the Edit and
  1804.     Insert options, a secondary menu is generated for the update itself.
  1805.     Its options are:
  1806.  
  1807.  
  1808. TBOXCFG User Manual                                                  Page 34
  1809. ____________________________________________________________________________
  1810.  
  1811.  
  1812.           Program Name
  1813.  
  1814.                Enter the filename for which the override is to apply.  Case
  1815.                is significant, path is not allowed, and the extension is
  1816.                optional.  As for intrinsic commands, the match will only
  1817.                occur if the name is entered in the ToolBOX in all upper or
  1818.                all lower case.  The match is performed with the name portion
  1819.                only.  The extension is provided to optimize the execution
  1820.                phase, such that if it didn't exist already, it is appended
  1821.                when a match occurs.  As for any program invocation, if the
  1822.                .exe or .com extension is known, then ToolBOX is capable of
  1823.                executing it directly without the inefficiency of using the
  1824.                intermediate COMMAND.COM.  The filename entered is also used
  1825.                for display purposes in the original selection list.
  1826.  
  1827.           Flags
  1828.  
  1829.                There are 6 separate flag settings.  Five are similar to
  1830.                those for the keybinding flags and one is unique.  These are
  1831.                described in Section 10.2.
  1832.  
  1833.           Cancel Changes
  1834.  
  1835.                All changes are made to a copy of the data which is not
  1836.                incorporated until <ESC> is entered to exit from this menu.
  1837.                If the Cancel Changes option is used, any changes made to the
  1838.                override command are ignored.
  1839.  
  1840.     If you wish to bypass the override function within ToolBOX when entering
  1841.     keyboard commands, then enter the name in mixed case.
  1842.  
  1843.  
  1844.  
  1845. 10.2 Override Flags
  1846.  
  1847.     The flags are similar to those used for the keybindings.  In fact five
  1848.     settings are identical.  Refer to Section 9.2 for a detailed description
  1849.     of the settings for:
  1850.  
  1851.  
  1852.           Switch to DOS window
  1853.  
  1854.                Controls transitions between DOS and ToolBOX screens; both
  1855.                before and after executing the overridden command.
  1856.  
  1857.           Tell DOS of lines
  1858.  
  1859.                Inform DOS of whether it must restrict itself to 25 lines for
  1860.                split screen usage.
  1861.  
  1862.           Display data
  1863.  
  1864.                Optimizes data updates for ToolBOX directory display follow-
  1865.                ing the over-ridden command.
  1866.  
  1867.  
  1868. TBOXCFG User Manual                                                  Page 35
  1869. ____________________________________________________________________________
  1870.  
  1871.  
  1872.  
  1873.           Pause on completion
  1874.  
  1875.                Indicates whether a pause should occur following the command
  1876.                before reverting to the ToolBOX directory display.
  1877.  
  1878.           On-error
  1879.  
  1880.                Specifies what should be done when the override command
  1881.                returns a non-zero errorlevel value.
  1882.  
  1883.  
  1884.     The keybinding flags for Subdirectory, Embeddable, and Skip-to-cursor
  1885.     are not applicable for command overrides.
  1886.  
  1887.     The one new flag setting for command overrides relates to the handling
  1888.     of memory for the over-ridden program.  This is not necessary for the
  1889.     keybindings as the "@" prefix to request the swap can be placed on the
  1890.     individual command lines in the command set.  The swap setting controls
  1891.     whether or not the swap is made, but not where.  The TBOX -M command
  1892.     line argument determines if swap operations use disk or EMS for storage,
  1893.     and the default setting that determines if all external programs are
  1894.     swapped or not.
  1895.  
  1896.           sWap out ToolBOX
  1897.  
  1898.               Use swap default
  1899.  
  1900.                     Essentially indicates that no action be taken.  The
  1901.                     default established by the -M command line argument
  1902.                     should apply for this command as for any command,
  1903.                     whether from a keyboard command or a keybinding command
  1904.                     set.
  1905.  
  1906.                Never swap
  1907.  
  1908.                     Overrides the -M command line argument to inhibit the
  1909.                     swap operation when the override command is executed.
  1910.  
  1911.                Always swap
  1912.  
  1913.                     Essentially inserts the "@" prefix in front of the
  1914.                     over-ridden command to ensure that it is swapped.
  1915.  
  1916.  
  1917.  
  1918. 10.3 Factory Default Command Overrides
  1919.  
  1920.     The default configuration contains command overrides for two types of
  1921.     common commands, for DOS and for Binary Toolshed Utilities.
  1922.  
  1923.     The overrides for the DOS commands serve two functions.  For commands
  1924.     such as type, or chkdsk which generate output for the screen, the over-
  1925.     ride is used to ensure a pause occurs after the command is executed and
  1926.     before reverting to the directory display.  For other commands such as
  1927.  
  1928. TBOXCFG User Manual                                                  Page 36
  1929. ____________________________________________________________________________
  1930.  
  1931.  
  1932.     cls, the override tells DOS to not bother re-reading the directory.  DOS
  1933.     commands such as copy and diskcopy command are not included in the
  1934.     default override settings, although these can easily be added to ensure
  1935.     ToolBOX pauses after the commands issue their results.
  1936.  
  1937.     The overrides for the Binary Toolshed Utilities take advantage of the
  1938.     known characteristics of these programs.  For the utilities that
  1939.     generate output (dirs, drives, onpath, and wi), the flags are set to
  1940.     ensure a pause occurs.  The full screen utilities (TREE, and VIEW) are
  1941.     configured to take advantage of the ToolBOX screen settings.  All
  1942.     utilities are configured to use the BTS errorlevel value.
  1943.  
  1944.     The override list can easily be extended to incorporate all of the
  1945.     programs used within your environment.  Pause settings, screen transit-
  1946.     ions, directory updates, memory utilization, and so on can all be
  1947.     optimized for your most commonly used programs.
  1948.  
  1949.  
  1950.  
  1951. TBOXCFG User Manual                                                  Page 37
  1952. ____________________________________________________________________________
  1953.  
  1954.  
  1955. 11.0 Configure Option : Quick Lines
  1956.  
  1957.     Quicklines are an alternative method for executing command lines,
  1958.     whether DOS or intrinsics.  Unlike keybindings, quicklines:
  1959.  
  1960.           o contain one and only one command line.
  1961.  
  1962.           o have no associated flag settings or match strings.
  1963.  
  1964.           o are executed once only and are independent of any selected
  1965.             files.
  1966.  
  1967.           o can be configured from the ToolBOX program as well as through
  1968.             the TBOXCFG program.
  1969.  
  1970.           o are executed within the ToolBOX program from the popup menu or
  1971.             through a two character sequence consisting of the quick command
  1972.             introducer character (nominally ') and a unique single character
  1973.             label.
  1974.  
  1975.  
  1976.     The configuration for quick commands is similar to the override command.
  1977.     When selected from the Configure Menu, a list of the existing quick
  1978.     commands is presented.  Each entry consists of the alphabetic label and
  1979.     the quickline itself.  Cursor to the desired entry and enter <RETURN>.
  1980.  
  1981.     This brings up a menu to select an update option:
  1982.  
  1983.           Edit
  1984.  
  1985.                Initiate changes to the existing settings for the quick
  1986.                command.
  1987.  
  1988.  
  1989.           Insert
  1990.  
  1991.                Add a new entry before the current quickline.  There is no
  1992.                significance to the order of the entries.  If two accident-
  1993.                ally have the same label, only the first has any effect.
  1994.  
  1995.  
  1996.           Delete
  1997.  
  1998.                Deletes the current quickline command.  There is no paste
  1999.                option provided for quicklines.
  2000.  
  2001.  
  2002.     With the Edit and Insert options, an additional two line text entry
  2003.     window is generated for the update itself.  The two lines are for the
  2004.     quicklabel and the quickline respectively.
  2005.  
  2006.     Anything after the first character of the label line is ignored.  The
  2007.     label can be any alphanumeric character.  Case is significant.
  2008.  
  2009.     The quickline can contain any DOS or intrinsic command that is valid for
  2010.  
  2011. TBOXCFG User Manual                                                  Page 38
  2012. ____________________________________________________________________________
  2013.  
  2014.  
  2015.     the keyboard command line or a key binding.  The same rules apply for
  2016.     command line variables except that the variables reference the file at
  2017.     the cursor position rather than selected files.  Quicklines will be
  2018.     processed once and once only - not once for for each selected file as
  2019.     would occur for keybindings.  Quick commands defined through the TBOXCFG
  2020.     program are identical and indistinguishable from those added dynamically
  2021.     with the ToolBOX program.
  2022.  
  2023.     There is a 500 character limit for all quick lines.
  2024.  
  2025.     There are no factory default quick commands defined.
  2026.  
  2027.  
  2028.  
  2029.  
  2030. TBOXCFG User Manual                                                  Page 39
  2031. ____________________________________________________________________________
  2032.  
  2033.  
  2034. 12.0 Configure Option : Default-DOS-Command
  2035.  
  2036.     The default-DOS-command is the command line invoked when the "t*x f"
  2037.     (see Section 9.3.6) command is unable to locate an applicable file to
  2038.     execute.
  2039.  
  2040.     Within ToolBOX, "t*x f" is used for the deferred batch file facility.
  2041.     The command line is used when the batch filename composed from the
  2042.     extension of the selected file cannot be found.  The factory default
  2043.     default-DOS-command is to use view to display the selected file, that is
  2044.  
  2045.                     view f
  2046.  
  2047.     This can be altered to use any other display program or viewer.
  2048.  
  2049.  
  2050.     Selecting this option from the Configure menu produces a sub-menu with
  2051.     choices for either the command line or flag settings.
  2052.  
  2053.     Selecting the Command option produces a text entry window.  Enter the
  2054.     single line default command containing up to 68 characters.
  2055.  
  2056.     The Flags option introduces the same five settings that are used for the
  2057.     key bindings.  Refer to Section 9.2 for a detailed description of the
  2058.     flag setting options for:
  2059.  
  2060.           Switch to DOS window
  2061.  
  2062.           Tell DOS of video lines
  2063.  
  2064.           Display data
  2065.  
  2066.           Pause on completion
  2067.  
  2068.           On-error
  2069.  
  2070.  
  2071.  
  2072.  
  2073. TBOXCFG User Manual                                                  Page 40
  2074. ____________________________________________________________________________
  2075.  
  2076.  
  2077. 13.0 Configure Option : ToolBOX Banner
  2078.  
  2079.     Normally the text in the upper left corner of the ToolBOX display shows
  2080.     the "The Binary Toolshed".  This is the ToolBOX banner that can be
  2081.     changed to any desired string.
  2082.  
  2083.     Selecting this option from the Configure menu produces a text entry
  2084.     window.  Enter any string of up to 32 characters.
  2085.  
  2086.  
  2087.  
  2088.  
  2089. TBOXCFG User Manual                                                  Page 41
  2090. ____________________________________________________________________________
  2091.  
  2092.  
  2093. APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS
  2094.  
  2095.  
  2096.  
  2097.  
  2098.      TBOXCFG  [d:][path]cfgname[.cfg]
  2099.              -V [b m s c e v] [25 43 50] -C[m c g]
  2100.              -X [a#] [fF]
  2101.  
  2102.  
  2103.       where :
  2104.  
  2105.  
  2106.            [d:][path]cfgname[.cfg]
  2107.                               configuration file to be edited
  2108.  
  2109.  
  2110.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2111.  
  2112.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2113.  
  2114.           -eXecute
  2115.                a#      permitted audio tones for different errors:
  2116.                        1 (border) + 2 (syntax) + 4 (execution)
  2117.                f / F   enable Flashing color
  2118.  
  2119.  
  2120.                NOTE :
  2121.  
  2122.                     o all fields are optional
  2123.  
  2124.                     o default is
  2125.  
  2126.                          -v25 -Xa7f
  2127.  
  2128.  
  2129.  
  2130. TBOXCFG User Manual                                                  Page 42
  2131. ____________________________________________________________________________
  2132.  
  2133.  
  2134. APPENDIX B : INTRINSIC COMMAND SUMMARY
  2135.  
  2136.  
  2137. INTRINSIC COMMANDS
  2138. ──────────────────
  2139.  
  2140.  
  2141.  
  2142.           Update directory display.
  2143.  
  2144.                dir [d:][path][matchlist] [/s[ + - ! ]#] [/f[ + - ! ]#]
  2145.  
  2146.           Change directory.
  2147.  
  2148.                [cd] [d:][path]
  2149.  
  2150.           Delete selected files.
  2151.  
  2152.                del [d:][path]matchlist
  2153.  
  2154.           Delete selected directories and contents.
  2155.  
  2156.                killdir [d:]path
  2157.  
  2158.           Select files.
  2159.  
  2160.                sel [ @ + - ] matchlist
  2161.  
  2162.           Switch to the DOS window.
  2163.  
  2164.                tbx d
  2165.  
  2166.           Initiate Help  (1=basic help, 2=extended command set).
  2167.  
  2168.                tbx h #
  2169.  
  2170.           Toggle current PAUSE status.
  2171.  
  2172.                tbx p
  2173.  
  2174.           Set number of screen lines (25, 43, or 50 - otherwise the
  2175.           DOS setting).
  2176.  
  2177.                tbx r ##
  2178.  
  2179.           Toggle current DIRECTION status.
  2180.  
  2181.                tbx t
  2182.  
  2183.           Toggle between ToolBOX SELECT and DIRECTORY state.
  2184.  
  2185.                tbx w
  2186.  
  2187.  
  2188. TBOXCFG User Manual                                                  Page 43
  2189. ____________________________________________________________________________
  2190.  
  2191.  
  2192.           Change directories to the next entry in the directory
  2193.           stack.
  2194.  
  2195.                tbx N
  2196.  
  2197.           Change directories to the previous entry in the
  2198.           directory stack.
  2199.  
  2200.                tbx P
  2201.  
  2202.           Conditional exit (Use verification window).
  2203.  
  2204.                tbx x
  2205.  
  2206.           Unconditional exit.
  2207.  
  2208.                tbx X
  2209.  
  2210.           Invoke program if locatable, else use default command
  2211.           line.
  2212.  
  2213.                t*x f progname.ext [param1] [param2] . . .
  2214.  
  2215.           Start the keyboard command with newest command stack
  2216.           entry.
  2217.  
  2218.                t*x l
  2219.  
  2220.           Start keyboard command with text provided.
  2221.  
  2222.                t*x p [command-line-text]
  2223.  
  2224.           Toggle DOS split screen.
  2225.  
  2226.                t*x s
  2227.  
  2228.           Initiate the popup menu window.
  2229.  
  2230.                t*x w
  2231.  
  2232.           Invoke program if locatable, else sound(error).
  2233.  
  2234.                t*x x progname.ext [param1] [param2] . . .
  2235.  
  2236.           Assign current directory to quick command, get label x from
  2237.           keyboard.
  2238.  
  2239.                t*x C
  2240.  
  2241.           Delete quick command, get x from keyboard.
  2242.  
  2243.                t*x D
  2244.  
  2245.  
  2246. TBOXCFG User Manual                                                  Page 44
  2247. ____________________________________________________________________________
  2248.  
  2249.  
  2250.           Add the current keyboard command line as quick command,
  2251.           get x from the keyboard.
  2252.  
  2253.                t*x K
  2254.  
  2255.           Execute quick command, get x from keyboard.
  2256.  
  2257.                t*x X
  2258.  
  2259.  
  2260. TBOXCFG User Manual                                                  Page 45
  2261. ____________________________________________________________________________
  2262.  
  2263.  
  2264. APPENDIX C : SORT FORMAT SPECIFICATION
  2265.  
  2266.  
  2267.                d  date
  2268.                n  name
  2269.                x  extension
  2270.                s  size
  2271.  
  2272.  
  2273. TBOXCFG User Manual                                                  Page 46
  2274. ____________________________________________________________________________
  2275.  
  2276.  
  2277. APPENDIX D : DISPLAY FORMAT SPECIFICATION
  2278.  
  2279.  
  2280.                D  ddMmmyy date string
  2281.                t  hh:mm time string
  2282.                d  2 char day xx
  2283.                m  2 char month
  2284.                y  2 char year
  2285.                M  3 char Month
  2286.  
  2287.                n  8 character name
  2288.                C  8 character byte count "  <DIR> " if a directory
  2289.                c  8 character byte count "        " if a directory
  2290.                x  3 character extension
  2291.  
  2292.                \\ status " " or "\" if a directory
  2293.                /  status in decreasing priority "s", "h", "r", "\"
  2294.  
  2295.                S  "" if file selected, else " "
  2296.  
  2297.                "literal strings"   preserved as given
  2298.  
  2299.  
  2300.  
  2301.  
  2302. TBOXCFG User Manual                                                  Page 47
  2303. ____________________________________________________________________________
  2304.  
  2305.  
  2306. APPENDIX E : COMMAND LINE VARIABLES
  2307.  
  2308.  
  2309.     Basic file oriented variables:
  2310.  
  2311.           <CTRL d>       display drive
  2312.  
  2313.           <CTRL p>       display path
  2314.  
  2315.           <CTRL n>       8 character file name
  2316.  
  2317.           <CTRL x>       3 character extension
  2318.  
  2319.           <CTRL D>       current drive letter
  2320.  
  2321.           <CTRL P>       current path
  2322.  
  2323.           <CTRL f>       minimized filename
  2324.  
  2325.  
  2326.     Additional variables (as displayed):
  2327.  
  2328.           [ + - ! ]d    biased display drive
  2329.  
  2330.           c             last character from keyboard
  2331.  
  2332.                        single literal  character
  2333.  
  2334.  
  2335.     Edit Control Instructions
  2336.  
  2337.  
  2338.           <c>            set cursor position
  2339.  
  2340.           <i>            set insert mode
  2341.  
  2342.           <o>            set overstrike mode
  2343.  
  2344.           <m>            mark start (or end) of default-text region
  2345.  
  2346.  
  2347.  
  2348.